\hypertarget{structnih_1_1cuda_1_1_l_b_v_h__context}{
\section{nih\-:\-:cuda\-:\-:\-L\-B\-V\-H\-\_\-context \-Struct \-Reference}
\label{structnih_1_1cuda_1_1_l_b_v_h__context}\index{nih\-::cuda\-::\-L\-B\-V\-H\-\_\-context@{nih\-::cuda\-::\-L\-B\-V\-H\-\_\-context}}
}


{\ttfamily \#include $<$lbvh\-\_\-context.\-h$>$}

\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structnih_1_1cuda_1_1_l_b_v_h__context_1_1_context}{\-Context}
\begin{DoxyCompactList}\small\item\em \-Cuda accessor struct. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1cuda_1_1_l_b_v_h__context_a43f6c8c15ef0959a308ff72c7a01b44d}{
\hyperlink{structnih_1_1cuda_1_1_l_b_v_h__context_a43f6c8c15ef0959a308ff72c7a01b44d}{\-L\-B\-V\-H\-\_\-context} (thrust\-::device\-\_\-vector$<$ \hyperlink{structnih_1_1_bvh__node}{\-Bvh\-\_\-node} $>$ $\ast$nodes, thrust\-::device\-\_\-vector$<$ uint2 $>$ $\ast$leaves)}
\label{structnih_1_1cuda_1_1_l_b_v_h__context_a43f6c8c15ef0959a308ff72c7a01b44d}

\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hypertarget{structnih_1_1cuda_1_1_l_b_v_h__context_a993469fba3b80c21b6aad7f7c2eea4ac}{
void \hyperlink{structnih_1_1cuda_1_1_l_b_v_h__context_a993469fba3b80c21b6aad7f7c2eea4ac}{reserve\-\_\-nodes} (const uint32 n)}
\label{structnih_1_1cuda_1_1_l_b_v_h__context_a993469fba3b80c21b6aad7f7c2eea4ac}

\begin{DoxyCompactList}\small\item\em reserve space for more nodes \end{DoxyCompactList}\item 
\hypertarget{structnih_1_1cuda_1_1_l_b_v_h__context_a3524d8d9d8962af68f91705d9c8df7dd}{
void \hyperlink{structnih_1_1cuda_1_1_l_b_v_h__context_a3524d8d9d8962af68f91705d9c8df7dd}{reserve\-\_\-leaves} (const uint32 n)}
\label{structnih_1_1cuda_1_1_l_b_v_h__context_a3524d8d9d8962af68f91705d9c8df7dd}

\begin{DoxyCompactList}\small\item\em reserve space for more leaves \end{DoxyCompactList}\item 
\hypertarget{structnih_1_1cuda_1_1_l_b_v_h__context_a9e5beb3abb75cf8e0f0b3a1202a29aea}{
\hyperlink{structnih_1_1cuda_1_1_l_b_v_h__context_1_1_context}{\-Context} \hyperlink{structnih_1_1cuda_1_1_l_b_v_h__context_a9e5beb3abb75cf8e0f0b3a1202a29aea}{get\-\_\-context} ()}
\label{structnih_1_1cuda_1_1_l_b_v_h__context_a9e5beb3abb75cf8e0f0b3a1202a29aea}

\begin{DoxyCompactList}\small\item\em return a cuda context \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1cuda_1_1_l_b_v_h__context_a2d63b0fd570598396a3889df1cb222c9}{
thrust\-::device\-\_\-vector$<$ \hyperlink{structnih_1_1_bvh__node}{\-Bvh\-\_\-node} $>$ $\ast$ {\bfseries m\-\_\-nodes}}
\label{structnih_1_1cuda_1_1_l_b_v_h__context_a2d63b0fd570598396a3889df1cb222c9}

\item 
\hypertarget{structnih_1_1cuda_1_1_l_b_v_h__context_ac24338e22f4620f7fc7e3d5271652b9d}{
thrust\-::device\-\_\-vector$<$ uint2 $>$ $\ast$ {\bfseries m\-\_\-leaves}}
\label{structnih_1_1cuda_1_1_l_b_v_h__context_ac24338e22f4620f7fc7e3d5271652b9d}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-A simple binary tree context implementation to be used with the \hyperlink{structnih_1_1_bvh}{\-Bvh} \hyperlink{group__bintree_gad76a50ae08ab4d525f748a7cbcc0fb6e}{generate()} function. 

\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
bvh/cuda/lbvh\-\_\-context.\-h\end{DoxyCompactItemize}
